package com.xiang.domain;


import com.alibaba.fastjson.JSON;

/**
 * 客户
 *
 * @author xiangtianlei@gogpay.cn
 * @date 2023-01-29
 */
public class Customer {
    private String id;
    private String name;
    private String idCard;
    private String sex;
    private Integer age;
    private String address;
    private String mobile;
    private String createTime;

    public Customer() {
    }

    public Customer(String id, String name, String idCard, String sex, Integer age, String mobile, String address, String createTime) {
        this.mobile = mobile;
        this.idCard = idCard;
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.address = address;
        this.createTime = createTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
